package com.xiaohong.storage.pojo;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.v3.oas.annotations.media.Schema;

import java.io.Serializable;

import static io.swagger.v3.oas.annotations.media.Schema.AccessMode.READ_ONLY;

@Schema(name = "StorageTbl")
public class StorageTbl implements Serializable{

    @TableId(value = "id",type = IdType.AUTO)
    @Schema(description = "",accessMode = READ_ONLY)
    @JsonFormat(shape = JsonFormat.Shape.STRING)
	private Integer id;//

    @Schema(description = "")
    @TableField("commodity_code")
	private String commodityCode;//

    @Schema(description = "")
    @TableField("count")
	private Integer count;//



	//get方法
	public Integer getId() {
		return id;
	}

	//set方法
	public void setId(Integer id) {
		this.id = id;
	}
	//get方法
	public String getCommodityCode() {
		return commodityCode;
	}

	//set方法
	public void setCommodityCode(String commodityCode) {
		this.commodityCode = commodityCode;
	}
	//get方法
	public Integer getCount() {
		return count;
	}

	//set方法
	public void setCount(Integer count) {
		this.count = count;
	}


}
